package controller.menubar;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import model.GlobalParams;

import view.MainFrame;

public class ChangeLanguageListener implements ActionListener {
	
	public ChangeLanguageListener(MainFrame f) {
		frame = f;
		
	}
	@Override
	public void actionPerformed(ActionEvent arg0) {
		GlobalParams.getInstance().changeLanguage();	
		frame.updateNames();		
	}
	
	private MainFrame frame;

}
